package modelLayer;
import java.util.ArrayList;


public class Rent
{
    private int rentId;
    private String period;
    private String rentDate;
    private double price;
    private Customer cust;
    private Employee emp;
    private Machine mcn;
    private String status;
    private double total;
    
public Rent(String period, String rentDate, Customer cust, Employee emp, Machine mcn, double total){
    this.period = period;
    this.rentDate = rentDate;
    this.cust = cust;
    this.emp = emp;
    this.mcn = mcn;
    this.total = total;
    this.status = "not returned";
}

    public void setRentId(int rentId){
        this.rentId = rentId;
    }
    
    public int getRentId(){
        return rentId;
    }
    
    public void setPeriod(String period){
        this.period = period;
    }
    
    public String getPeriod(){
        return period;
    }
    
    public void setRentDate(String rentDate){
        this.rentDate = rentDate;
    }
    
    public String getRentDate(){
        return rentDate;
    }
    
    public void setPrice(double price){
        this.price = price;
    }
    
    public double getPrice(){
        return price;
    }
    
    public Customer getCustomer(){
        return cust;
    }
    
    public Employee getEmployee(){
        return emp;
    }
    
    public String getStatus() {
        return status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }
    
    public Machine getMachine() {
        return mcn;
    }
    
    public void setMachine(Machine mcn) {
        this.mcn = mcn;
    }
    
    public void setTotal(double total) {
        this.total = total;
    }
    
    public double getTotal() {
        return total;
    }
}